package com.javatom.notes.seata.xa.account.service.impl;


import com.javatom.notes.seata.xa.account.mapper.AccountMapper;
import com.javatom.notes.seata.xa.account.pojo.AccountPojo;
import com.javatom.notes.seata.xa.account.service.AccountService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @description:
 * @author: 曾维录
 * @time: 2020/8/19 15:16
 */
@Slf4j
@Service
public class AccountServiceImpl implements AccountService {

    @Resource
    private AccountMapper accountMapper;

    @Override
    public int insert(AccountPojo accountPojo) {
        return accountMapper.insert(accountPojo);
    }
}
